# -*- coding: utf-8 -*-
class manreviewPage():
    def __init__(self,driver):
        self.driver = driver
    #     点击人工核保
    def btnManReview(self):
        return self.driver.find_element_by_xpath('//*[@id="huadong1"]/dl[6]/dt/b/a')

    def inpGrpPropNo(self):
        return self.driver.find_element_by_xpath('//*[@id="GrpPropNo"]')
    # 查询
    def btnrefer1(self):
        return self.driver.find_element_by_xpath('//*[@id="divQuery"]/input[1]')
    # 公共池选择
    def btnQueryScanGridSel(self):
        return self.driver.find_element_by_xpath('//*[@id="QueryScanGridSel0"]')
    # 申请
    def btnapply1(self):
        return self.driver.find_element_by_xpath('//*[@id="divQuery"]/input[2]')
    # 个人池选择
    def btnScanMyInfoGridSel(self):
        return self.driver.find_element_by_xpath('//*[@id="ScanMyInfoGridSel0"]')
    # 人工核保
    def btnGoInside1(self):
        return self.driver.find_element_by_xpath('//*[@id="fm"]/input[1]')
    # 核保处理
    def btnUnderWriting(self):
        return self.driver.find_element_by_xpath('//*[@id="divContDeal"]/input[1]')
    # 保单自动核保信息
    def radAutoUWIfm(self):
        return self.driver.find_elements_by_name('UWGCErrGridSel')
    # 核保结论
    def btnUWConclusion(self):
        return self.driver.find_element_by_xpath('//*[@id="UWConclusion"]')
    def secUWConclusion(self):
        return self.driver.find_element_by_xpath('//*[@id="codeselect"]')
    # 核保意见
    def inpUWOption(self):
        return self.driver.find_element_by_xpath('//*[@id="UWOption"]')
    # 保存核保结论
    def btnSaveConclusion(self):
        return self.driver.find_element_by_xpath('//*[@id="divUWGErr2"]/input[1]')
    # 被保险人列表显示
    def tabInsuredList(self):
        return self.driver.find_element_by_xpath('//*[@id="tab1"]/ul/li[2]')
    # 整单核保
    def btnWholeListUw(self):
        return self.driver.find_element_by_xpath('//*[@id="divCUWMaster"]/input[2]')
    # 个人核保结论
    def btnUWConclu(self):
        return self.driver.find_element_by_xpath('//*[@id="UWConclu"]')
    def secUWConclu(self):
        return self.driver.find_element_by_xpath('//*[@id="codeselect"]')
    # 个人核保意见
    def inpUWIdea(self):
        return self.driver.find_element_by_xpath('//*[@id="UWIdea"]')
    # 保存个人核保结论
    def btnSaveUWConclu(self):
        return self.driver.find_element_by_xpath('//*[@id="divUWConclu"]/input[1]')
    # 关闭
    def btnUwPageClose(self):
        return self.driver.find_element_by_xpath('//*[@id="divUWConclu"]/input[2]')
    # 整单核保确认
    def btnWholeUWComfire(self):
        return self.driver.find_element_by_xpath('//*[@id="divContDeal"]/input[4]')






